<?php

namespace slinks\extensions\onecms\core\model;

/**
 * Base menu object. 
 * 
 * @author Navid Mitchell
 *
 */
class Menu {

    private $name;

    private $menuNodes;

    function __construct($name, $menuNodes=array()) {
        $this->name = $name;
        $this->menuNodes = $menuNodes;
    }

    public function getName() {
        return $this->name;
    }

    public function setName($name) {
        $this->name = $name;
    }

    public function getMenuNodes() {
        return $this->menuNodes;
    }

    public function setMenuNodes($menuNodes) {
        $this->menuNodes = $menuNodes;
    }

}